package yxy.cherry.data.bean;

import yxy.cherry.data.bean.model.DataClass;
import yxy.cherry.data.bean.model.DataType;

@DataType
public class commandertally implements DataClass {

    public int id;
    public String name;
    public int type;
    public int quality;
    public int attack;
    public int defense;
    public int life;
    public int entryminlevel;
    public int entrymaxlevel;
    public int entrynum;
    public int costtype;
    public int costid;
    public int costnum;
    public int decomposetpe;
    public int decomposetpeid;
    public int decomposetpenum;
    public int upgradeid;   //合成后的id
    public int upheave;//是否可被合成
    public int upcosttype;//合成花费
    public int upcostid;//合成花费
    public int upcostnum;//合成花费
    public int rate2;
    public int rate3;
    public int rate4;
    public int rate5;
    public int[] returndestype;//失败返回
    public int[] returndesid;//失败返回
    public int[] returndesnum;//失败返回

    public int getId() {
        return id;
    }

    public String getName() {
        return name;
    }

    public int getType() {
        return type;
    }

    public int getQuality() {
        return quality;
    }

    public int getAttack() {
        return attack;
    }

    public int getDefense() {
        return defense;
    }

    public int getLife() {
        return life;
    }

    public int getEntryminlevel() {
        return entryminlevel;
    }

    public int getEntrymaxlevel() {
        return entrymaxlevel;
    }

    public int getEntrynum() {
        return entrynum;
    }

    public int getCosttype() {
        return costtype;
    }

    public int getCostid() {
        return costid;
    }

    public int getCostnum() {
        return costnum;
    }

    public int getDecomposetpe() {
        return decomposetpe;
    }

    public int getDecomposetpeid() {
        return decomposetpeid;
    }

    public int getDecomposetpenum() {
        return decomposetpenum;
    }

    public int getUpgradeid() {
        return upgradeid;
    }

    public int getUpheave() {
        return upheave;
    }

    public int getUpcosttype() {
        return upcosttype;
    }

    public int getUpcostid() {
        return upcostid;
    }

    public int getUpcostnum() {
        return upcostnum;
    }

    public int getRate2() {
        return rate2;
    }

    public int getRate3() {
        return rate3;
    }

    public int getRate4() {
        return rate4;
    }

    public int getRate5() {
        return rate5;
    }

    public int[] getReturndestype() {
        return returndestype;
    }

    public int[] getReturndesid() {
        return returndesid;
    }

    public int[] getReturndesnum() {
        return returndesnum;
    }

    @Override
    public String getCode() {
        return String.valueOf(getId());
    }
}